#!/bin/sh
#
# 简单写一下脚本的功能。
#
#
#

if [ $# -ne 3 ]; then
	echo "Usage: $0 mdfile sourceword destword"
	exit
fi

sourceword=$2

destword=$3

sed -e "s/$sourceword/$destword/g" $1 >$1.tmp

mv $1.tmp $1
